import request from '@/utils/request'

// 查询物业详情列表
export function listDealLicenseDetails(query) {
  return request({
    url: '/license/dealLicenseDetails/list',
    method: 'get',
    params: query
  })
}

export function findDetailsList(query) {
  return request({
    url: '/license/dealLicenseDetails/detailsList',
    method: 'get',
    params: query
  })
}

// 查询物业详情详细
export function getDealLicenseDetails(id) {
  return request({
    url: '/license/dealLicenseDetails/' + id,
    method: 'get'
  })
}

// 保存物业详情
export function saveDealLicenseDetails(data) {
  return request({
    url: '/license/dealLicenseDetails/save',
    method: 'post',
    data: data
  })
}

// 导出物业详情
export function exportDealLicenseDetails(query) {
  return request({
    url: '/license/dealLicenseDetails/export',
    method: 'get',
    params: query
  })
}
